home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / mmpc237.zip / MM_PTCNV.DOC next >
Text File  |  1991-03-24  |  18KB  |  529 lines

  1.                         Changes in MM_PTCNV 2.37
  2.                         ------------------------
  3.  
  4. a)      Attempts to fix a problem found by some users with the "press
  5.         space" prompt.  A popup is displayed instead.
  6.  
  7. b)      Will look for the user files in the LAN path rather than the
  8.         GT path, if the LAN path is defined.
  9.  
  10.         Note:   users who are NOT running on a LAN would do best to ensure
  11.                 that their LAN path entry (LR= in GT.CNF) is blank.
  12.  
  13. c)      Added a function to display and/or edit some fields from the user
  14.         record - useful for raising or lowering access levels, changing
  15.         passwords or just looking to see where a particular user is calling
  16.         from.
  17.  
  18.         To operate from command line :
  19.  
  20.                 mm_ptcnv /eu:Joe_Bloggs
  21.  
  22.         First screen displayed shows Joe Bloggs' details - you can edit the
  23.         fields individually, or CTRL-RETURN to leave as is.
  24.  
  25.         Second screen shows a list of available access levels, with the
  26.         current access level highlighted.  Raising or lowering is done
  27.         with the up or down cursor keys.
  28.  
  29.         For registered users, this function is also available direct from
  30.         MMR.  When reading a message, the U command will retrieve the
  31.         information about the caller who wrote the message.
  32.  
  33.  
  34.  
  35. d       Two additional command line switches :
  36.  
  37.                 /eu     edit user information, as described above
  38.                 /tf     displays town in full (default is first word only)
  39.  
  40.  
  41.                                ┌──────────┐
  42.                                │ MM_PTCNV │
  43.                                └──────────┘
  44.                                  Rev 2.33
  45.                                  Jan 1991
  46.  
  47. ┌─────────────────────┐
  48. │ General Information │
  49. └─────────────────────┘
  50.  
  51. GT and MMR operate with separate message pointers.  For many users this
  52. is not a problem, though some users like to synchronise their GT and MMR
  53. pointers so that they can, for example, read new messages either locally
  54. or remotely.
  55.  
  56. The code to adjust GT's message pointers is too large to justify inclusion
  57. within MMR, so the pointer conversion functions are implemented as a
  58. separate program which can also perform some user list functions.
  59.  
  60.  
  61. MM_PTCNV can :
  62.  
  63.         Import or export pointers between GT and MMR
  64.  
  65.         Set MMR's pointers to the highest or lowest message
  66.  
  67.         Create and execute a batch file which performs synchronised
  68.             renumbering of both GT's messages and MMR's pointers
  69.  
  70.         Show the users in each message area, or the areas which a
  71.             user has joined, and the last read message.
  72.  
  73.  
  74. Execution can be either :
  75.  
  76.         From a menu that appears in MMR (2.32 onwards), or
  77.  
  78.         Direct from the DOS prompt or in a batch file, using command line
  79.             switches.
  80.  
  81.  
  82. Most of the functions can be performed either for selected message
  83. areas or for all areas in the GTMDIR.BBS.
  84.  
  85.  
  86. Compatibility
  87. -------------
  88.  
  89. MM_PTCNV is intended for use with GT15.xx and GT16.xx.  It will *NOT* be
  90. compatible with user files of GT14 or previous versions.
  91.  
  92.  
  93. Status
  94. ------
  95.  
  96. This is an early beta test, and potential problems should be expected.
  97. Please take care with backups etc, until the status is a bit more
  98. certain.
  99.  
  100. Any problems should be reported to Harry Green at 050/003.
  101.  
  102.  
  103.  
  104.                       ┌────────────────────┐
  105.                       │ Brief instructions │
  106.                       └────────────────────┘
  107.  
  108. Install:
  109.  
  110.         MM_PTCNV.EXE    anywhere in DOS path
  111.  
  112.  
  113.  
  114. Execution
  115. ---------
  116.  
  117. MM_PTCNV can be executed either from a menu within MMR, or by a DOS command
  118. with appropriate command line switches.
  119.  
  120. The menu method is most suited for operations you perform occasionally,
  121. since it avoids the need to remember the commands.  The command method
  122. is best suited for anything done on daily basis, since the commands can be
  123. placed in a batch file to be run at a convenient moment.
  124.  
  125. Note:   The menu method is available for GT16 users in MMR 2.32.
  126.         However, the screen will erase immediately mm_ptcnv terminates
  127.         and you will need to <V>iew the session log.
  128.  
  129.         Operation with GT15 will require MMR 2.33 (expected to be issued in
  130.         the next few days).
  131.  
  132.  
  133. Select <P>ointer conversion from the top menu.
  134.  
  135. The menu is of the form :
  136.  
  137.                        ╔═════════════════════════════════╗
  138.                        ║ Import GT pointers to MMR       ║
  139.                        ║ Export MMR pointers to GT       ║
  140.                        ║ show users in message Areas     ║
  141.                        ║ Find a user in joined areas     ║
  142.                        ║ set mmr pointers to Highest Msg ║
  143.                        ║ set mmr pointers to First Msg   ║
  144.                        ║ export pointers and Renumber    ║
  145.                        ║ Quit to main menu               ║
  146.                        ╚═════════════════════════════════╝
  147.  
  148. Importing and Exporting
  149. -----------------------
  150.  
  151. In order to import or export pointers, you are expected to be a GT user -
  152. ie, you must have logged on to GT at least once using the same name as you
  153. use for MMR.
  154.  
  155.  
  156. IMPORTING       will take your current message according to GT and adjust
  157.                 your MMR message pointer to the same message.  It will
  158.                 ignore any message area which you do not presently have
  159.                 a GT entry.
  160.  
  161. EXPORTING       will take your current message according to MMR and adjust
  162.                 your GT message pointer to the same message.  Or, if you
  163.                 do not presently have a GT entry in that area it will
  164.                 *create* one.
  165.  
  166. In either case, you will be given a choice either to perform the command
  167. for <I>ndividual areas or for <A>ll areas.  In the first case you can
  168. choose an area from MMR's area list.
  169.  
  170.  
  171. WHY IMPORT OR EXPORT ?
  172.  
  173. Occasions that spring to mind are :
  174.  
  175. a)  if you have not previously used MMR, then you will probably want to
  176.     IMPORT your message pointers from GT as the first step in setting up.
  177.  
  178. b)  if you normally read messages with MMR, but are working away for a week
  179.     and plan on calling in remotely to do a mailcheck, then you would want
  180.     to EXPORT pointers to GT before you leave, and IMPORT pointers when you
  181.     return.
  182.  
  183. c)  If you frequently call in remotely, then you may find it convenient to
  184.     have the exporting and importing done in batch files, as described
  185.     later.
  186.  
  187. d)  If you use GT16 and wish to renumber.  In this case the necessary
  188.     exporting and importing is best performed with the renumbering option
  189.     on the menu.
  190.  
  191. IMPORTANT       At present, GT implements only a CURRENT message pointer
  192.                 and not a HIGHEST message pointer.  As soon as you read
  193.                 any message, it loses track of your highest message read.
  194.                 So its not a good idea to import pointers if you have used
  195.                 GT to read messages at random.
  196.  
  197.  
  198. Showing users in message areas
  199. ------------------------------
  200.  
  201. This option creates a list of the users in the selected message area(s),
  202. together with the date of their last call and the current message number.
  203.  
  204. C:\MSGS\GENERAL              FOR ALL TO SEE              CURRENT : MAXIMUM
  205.  
  206.     1-13-91 Matthew Fisher                 Loughton            1 :     0  
  207.     1-12-91 Martyn Croft                   Leeds               1 :     0  
  208.     1-14-91 Kevin Mclean                   Newcastle           1 :     0  
  209.     1-15-91 Colin Taylor                   London              5 :     0  
  210.    10-16-90 Harry Green                    Grapevine           5 :     5  
  211.     1-16-91 Sam Kane                       Waltham             2 :     0  
  212.     1-16-91 Edward Leusink                 London              5 :     0  
  213.  
  214.  
  215. The list can be created for all areas or for selected message areas.  The
  216. output goes on the screen and to a file, which can later be redisplayed
  217. or pasted into a file.
  218.  
  219. GT does not presently implement the MAXIMUM message field so the value
  220. listed in that column is likely to be uninformative.
  221.  
  222. Users whose message pointer is zero (which usually means they have entered
  223. the message base but not read any messages) are not included in the
  224. listing.
  225.  
  226. Note:   The TOWN gets abbreviated to just one word at the moment.  That
  227.         will change in a future release.
  228.  
  229.  
  230. Finding a user in joined areas
  231. ------------------------------
  232.  
  233. Displays the current message pointer for a specified user in all areas,
  234. for example :
  235.  
  236.    HARRY_GREEN                                               CURRENT : MAXIMUM
  237.  
  238.     c:\msgs\ADMIN                      between You and Me          16:   16  
  239.     c:\msgs\GENERAL                    For All To See               5:    5  
  240.     c:\msgs\NET2                       Netmail messages - to/fr    26:   26  
  241.     etc
  242.  
  243.  
  244. Setting pointers to Highest or Lowest messages
  245. ----------------------------------------------
  246.  
  247. These funtions set your *MMR* pointers either to the highest or the lowest
  248. message in every message base, or in selected message areas, according to
  249. the options chosen.
  250.  
  251. Your GT pointers remain unchanged (though you could use the EXPORT option
  252. afterwards if you wanted to update the GT pointers as well).
  253.  
  254. MMR 2.32 Note:  Spot the deliberate mistake - two menu entries both use
  255.                 the <F> hotkey.  The <F>irst option will change to <L>owest
  256.                 in 2.33.  It will also work!
  257.  
  258.  
  259. Exporting and Renumbering (GT16 only)
  260. -------------------------
  261.  
  262. In most cases its best not to renumber messages.  Asking sysop tools (GT15)
  263. or Delren (GT16) to prune the message base leaving say 200 messages in the
  264. message base *without* renumbering them is usually the best option, since
  265. users who capture messages and call back later to reply to them tend not
  266. to appreciate finding that the message no longer has the same number.
  267.  
  268. If you DO want to renumber a message base, then this option will create
  269. a batch file that :
  270.  
  271.         exports MMR pointers to GT
  272.  
  273.         executes DELREN to renumber the message base to 1
  274.  
  275.         imports GT pointers to MMR
  276.  
  277. with the sequence being repeated for each of the message bases you select.
  278.  
  279. Its not a good option to select when you are in a hurry - it will take
  280. a while.  And, of course, you should only select it at a time when
  281. it is "convenient" to have your MMR pointers exported to GT.
  282.  
  283.  
  284. The session listing
  285. -------------------
  286.  
  287. When run from a the menu, all the screen output is also saved in a file.
  288. This can be recalled by a <V>iew option which will appear on the pointer
  289. menu once the save file contains information.
  290.  
  291. Viewing is actually performed by your editor, and if MMR is configured for
  292. 2 or more files MMR's jotter will appear as the second file.  So you could
  293. perhaps copy part of the output there, to later paste into a message.
  294.  
  295.  
  296. ┌──────────────────────┐
  297. │ From the DOS command │
  298. └──────────────────────┘
  299.  
  300. The DOS version of the command will mainly be useful within batch files
  301. for performing functions you need to do regularly.  In many cases it will
  302. be useful to compare the command switches described here with those
  303. generated by the MMR menu, but note that some additional options are
  304. possible when working at the direct command level.
  305.  
  306.  
  307. General
  308. -------
  309.  
  310. All functions begin with the name of the program, ie MM_PTCNV followed by
  311. one or more switches either in the form /xx or /xx:xxxxxxxxxx.
  312.  
  313. The order of the parameters is generally unimportant.
  314.  
  315. Some functions require a user name to be specified - maybe your own.
  316. In order to make this into a single parameter, the space between words
  317. must be replaced with an underline as shown in the examples.
  318.  
  319.  
  320. Importing and Exporting
  321. -----------------------
  322.  
  323. To import pointers from GT to MMR :
  324.  
  325.         mm_ptcnv /gm
  326.  
  327. To export pointers from MMR to GT :
  328.  
  329.         mm_ptcnv /mg
  330.  
  331.  
  332. Both of these simple commands will process all message areas listed in the
  333. GTMDIR.BBS.  To do the same but restrict processing to a single message
  334. area, eg d:\general :
  335.  
  336.         mm_ptcnv /gm /ma:d:\general     (GT to MMR)
  337.  
  338.     or  mm_ptcnv /gm /ma:d:\general     (MMR to GT)
  339.  
  340.  
  341. By default, mm_ptcnv will use the name you have configured within MMR when
  342. accessing the GT message base.  If you need to do so, you can specify
  343. another name, eg
  344.  
  345.         mm_ptcnv /mg:The_Organiser
  346.  
  347. will export your MM pointers to the GT user named The Organiser.
  348.  
  349.  
  350. GT LIST functions (user list, find user)
  351. -----------------
  352.  
  353. To show all the users in all the GT message areas :
  354.  
  355.         mm_ptcnv /gl
  356.  
  357.  
  358. To show all the users in a single GT message area :
  359.  
  360.         mm_ptcnv /gl /ma:d:\general
  361.  
  362.  
  363. To find an individual GT user in all joined message areas :
  364.  
  365.         mm_ptcnv /gl:Harry_Green
  366.  
  367.  
  368. In the above forms :
  369.  
  370. a)      Users who have entered the message base but not read any messages
  371.         are omitted from the listing.  If you wish to SEE them, add /iz
  372.         (include zero entries).
  373.  
  374. b)      When searching for a specific user, only the message bases for
  375.         which that user has an entry will usually be displayed.  The
  376.         /ih (include hidden) switch will also list areas in which the
  377.         caller is *absent*.
  378.  
  379. b)      Users whose location (town/county, city/state etc) contains an
  380.         asterisk will show only the information preceding the asterisk.
  381.         Users whose entry begins with an asterisk will be omitted
  382.         altogether.
  383.  
  384.         The facility is intended for a specific purpose *not* yet
  385.         implemented, and can be overridden by including /ih (include hidden)
  386.         on the command line.
  387.  
  388.  
  389.  
  390.  
  391. Pointer Resetting
  392. -----------------
  393.  
  394. Functions are provided to set your MMR pointers to the HIGHEST or LOWEST
  395. message within the message base.
  396.  
  397.         mm_ptcnv /pe    will set the pointer to the highest messages,
  398.                         ie the *end* of each message base.
  399.  
  400.         mm_ptcnv /pb    will set the pointer to the lowest messages,
  401.                         ie the *beginning* of each message base.
  402.  
  403.  
  404. As before, operation can be restricted to a single message area :
  405.  
  406.         mm_ptcnv /pe /ma:d:\general or
  407.         mm_ptcnv /pb /ma:d:\general
  408.  
  409.  
  410. Renumbering (GT16 only)
  411. -----------
  412.  
  413. To renumber a message base to 1 :
  414.  
  415.         mm_ptcnv /rn                    (all message bases)
  416.         mm_ptcnv /rn /md:d:\general     (single message base)
  417.  
  418. mm_ptcnv does not itself renumber messages, but will set up a batch file
  419. to manage pointer exporting, renumbering via GT16's DELREN and reimport of
  420. pointers to MMR.
  421.  
  422. Before renumbering, please note that the comments for renumbering via the
  423. menu apply equally to direct DOS operation.
  424.  
  425.  
  426. When processing all areas
  427. -------------------------
  428.  
  429. "All areas" means those areas that are listed in the GTMDIR.BBS.  If you
  430. have only one such file, that is simple.  If you have more than one :
  431.  
  432. a)      mm_ptcnv follows the same rules as MMR, ie the first found of :
  433.  
  434.                 GTMDIR.BBS in MM subdirectory of GTPATH
  435.  
  436.                 GTMDIR.BBS in GTPATH
  437.  
  438.                 GTMDIR.BBS in BBS PATH
  439.  
  440. b)      the above default can be overridden by an explicit declaration
  441.         on the command line, ie
  442.  
  443.                 mm_ptcnv ......... /md:e:\gt\gtmdir.bbs
  444.  
  445.         Of course, the specified message directory list must be in the
  446.         expected format for a GTMDIR.BBS file as defined for GT.
  447.  
  448.  
  449. Output to File
  450. --------------
  451.  
  452. Output from mm_ptcnv *always* goes to the screen.  In most cases, you can
  453. *also* send the output to a file, by using the /op: switch :
  454.  
  455.         mm_ptcnv .......    /op:c:\tmp\output
  456.  
  457. The output is *appended* to the specified file.  One exception is when
  458. renumbering - the output from DELREN is *not* saved in the file.
  459.  
  460.  
  461. Wait before quitting
  462. --------------------
  463.  
  464. This option is mainly for use from the MMR menu, and requires the user to
  465. confirm (press space) before the program exits.  Add /wq to the command
  466. line if you want it (unlikely).
  467.  
  468. Note:   This will be used from MMR 2.33 onwards.
  469.  
  470.  
  471. ┌────────────────┐
  472. │ Switch Summary │
  473. └────────────────┘
  474.  
  475.     /gl                 GT list of all callers
  476.     /gl:First_Last      GT list of specified caller's pointers
  477.  
  478.     /gm                 Import pointers from GT to MMR using name in MM.CNF
  479.     /gm:First_Last      Import pointers from GT to MMR using specifed GT user
  480.  
  481.     /ih                 Include hidden entries in /gl functions
  482.     /iz                 Include 'zero' entries in /gl functions
  483.  
  484.     /ma:d:\general      Restrict processing to the specified message base
  485.                         (default is to process all areas in GTMDIR.BBS)
  486.  
  487.     /md:e:\gtmdir.bbs   Specify a directory list explicitly
  488.                         (default is to follow MMR rules)
  489.  
  490.     /gm                 Export pointers from MMR to GT using name in MM.CNF
  491.     /gm:First_Last      Export pointers from MMR to GT using specifed GT user
  492.  
  493.     /op:c:\tmp\out      Save screen output - append to specified file
  494.  
  495.     /pb                 Set MMR pointers to beginning of message base(s)
  496.     /pe                 Set MMR pointers to end of message base(s)
  497.  
  498.     /rn                 Perform renumbering sequence via DELREN (GT16 only)
  499.  
  500.     /sp                 Suppress place altogether from /gl lists
  501.  
  502.     /wq                 Wait for SPACE press before quitting
  503.  
  504. Note:   Arbitrary combinations of commands not shown in the examples
  505.         above will not necessarily perform any useful function.
  506.  
  507.  
  508. Permanently synchronising GT and MMR pointers
  509. ---------------------------------------------
  510.  
  511. If you regularly read messages from both GT and MMR, you can if you wish
  512. keep both sets of pointers permanently synchronised.
  513.  
  514. a)      If you currently have the correct pointers in MMR, export your MMR
  515.         pointers to GT, using the MMR menu or MM_PTCNV /mg.  You need
  516.         do this only once.
  517.  
  518.         If you currently have the correct pointers in GT, skip this step.
  519.  
  520. b)      Always run MMR from a batch file (eg MM.BAT) containing :
  521.  
  522.                 MM_PTCNV /gm
  523.                 MMR
  524.                 MM_PTCNV /mg
  525.  
  526. If you do this, no further action will be needed when you read messages
  527. from GT.
  528.  
  529.